package net.jforum.dao;

import java.util.List;

import net.jforum.entities.SubForum;

/**
 * Created by IntelliJ IDEA.
 * User: stzhang
 * Date: 2010-2-10
 * Time: 16:38:41  
 * To change this template use File | Settings | File Templates.
 */
public interface SubForumDAO {
    public List selectAll();
    public List selectAllByForumId(int forumId);
    public List selectAllByForumCategoryId(int categoryId);
    public SubForum findSubforumById(int forumId, int subforumId);
    public int addNew(SubForum subforum);
    public void update(SubForum subforum);
    public void remove(int forumId, int subforumId);
}
